fix(qt5-qtwebkit): make GStreamer MPEG-TS optional - #18313
Conversation
There was a problem hiding this comment.
Pull request overview
Makes QtWebKit’s unused GStreamer MPEG-TS integration optional while retaining general GStreamer audio/video support.
Changes:
- Removes the unavailable MPEG-TS build dependency and patches CMake component discovery.
- Bumps the package release and refreshes generated state.
- Adds matching source and rendered overlay artifacts.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
base/comps/qt5-qtwebkit/qt5-qtwebkit.comp.toml |
Bumps the manual release. |
base/comps/qt5-qtwebkit/overlays/0001-make-gstreamer-mpegts-optional.overlay.toml |
Defines dependency-removal and patch overlays. |
base/comps/qt5-qtwebkit/overlays/qtwebkit-optional-gstreamer-mpegts.patch |
Removes MPEG-TS from required GStreamer components. |
specs/q/qt5-qtwebkit/qt5-qtwebkit.spec |
Contains the rendered release, dependency, and patch changes. |
specs/q/qt5-qtwebkit/qtwebkit-optional-gstreamer-mpegts.patch |
Contains the rendered patch artifact. |
locks/qt5-qtwebkit.lock |
Refreshes the component input fingerprint. |
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Tobias Brick (tobiasb-ms)
left a comment
There was a problem hiding this comment.
question(blocking-for-discussion): Is this failing everywhere or only in certain environments (stage 2 prod, for example)? If only certain environments, what is the difference?
Azure Linux does not ship gstreamer1-plugins-bad-free-devel, so Fedora's pkgconfig(gstreamer-mpegts-1.0) BuildRequires prevents mock from creating QtWebKit buildroots on both architectures. QtWebKit also lists MPEG-TS as a required GStreamer component whenever generic video is enabled, although all MPEG-TS source and linkage is gated by USE_GSTREAMER_MPEGTS. Remove the exact build requirement and make that component optional while preserving the rest of the GStreamer media backend. Bump the manually managed release to 0.96. Signed-off-by: Mitch Zhu <mitchzhu@microsoft.com>
87cb35a to
3f2cc05
Compare
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Mitch Zhu (@miz060) -- I suspect you didn't see this question because of weirdness in how overall comments from a code review are laid out. |
reuben olinsky (reubeno)
left a comment
There was a problem hiding this comment.
You should respond to Tobias's question, but you can consider me signed off on this change.
thanks for the reminder! I did miss that. It only fails in Stage 2 prod. Stage 1 differs because it uses Fedora 43 repositories, where gstreamer1-plugins-bad-free-devel provides that dependency; Stage 2 prod uses current Stage 1 prod, which does not ship it. |
I'll add that it may also be a latent issue in Stage2 DEV -- but since we haven't force-rolled/rebuilt all the packages in DEV since some of the dependency carving happened, we just may not have noticed it. (That's a pattern we've seen recur.) |
Ah this makes sense -- we already had the dependencies but got rid of some. Thanks. |
Fixes the QtWebKit Stage 2 buildroot failure caused by the unavailable
pkgconfig(gstreamer-mpegts-1.0)dependency.Azure Linux does not provide
gstreamer1-plugins-bad-free-devel, the package that suppliespkgconfig(gstreamer-mpegts-1.0). QtWebKit nevertheless treats MPEG-TS as a required GStreamer component whenever video support is enabled. That dependency is unnecessary for this build because QtWebKit uses the MPEG-TS source code and libraries only whenUSE_GSTREAMER_MPEGTSis enabled, and that integration is disabled. The fix makes MPEG-TS optional while leaving QtWebKit's general GStreamer audio and video support enabled.Changes:
Validation:
ENABLE_VIDEOandUSE_GSTREAMERstill enabled.QWebPagesmoke test passed.